﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.LineTextureMode
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

#nullable disable
namespace UnityEngine
{
  /// <summary>
  ///   <para>Choose how textures are applied to Lines and Trails.</para>
  /// </summary>
  public enum LineTextureMode
  {
    /// <summary>
    ///   <para>Map the texture once along the entire length of the line.</para>
    /// </summary>
    Stretch,
    /// <summary>
    ///   <para>Repeat the texture along the line, based on its length in world units. To set the tiling rate, use Material.SetTextureScale.</para>
    /// </summary>
    Tile,
    /// <summary>
    ///   <para>Map the texture once along the entire length of the line, assuming all vertices are evenly spaced.</para>
    /// </summary>
    DistributePerSegment,
    /// <summary>
    ///   <para>Repeat the texture along the line, repeating at a rate of once per line segment. To adjust the tiling rate, use Material.SetTextureScale.</para>
    /// </summary>
    RepeatPerSegment,
  }
}
